#!/bin/sh

if [ -n "$1" ] ; then
    docker inspect -f '{{.Config.ExposedPorts}}' "$1"
else
    echo "usage: `basename $0` <container id>"
fi
